From: Marco Trevisan (TreviƱo) Date: Thu, 3 Aug 2017 13:52:06 +0000 (+0200) Subject: background: Don't set background actor sizing and scaling X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~888^2^2~53 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8f1fff137410011cb799541349edf33736e1023f;p=gnome-shell.git background: Don't set background actor sizing and scaling Mutter BackgroundActor is able do detect this at lower level https://bugzilla.gnome.org/show_bug.cgi?id=765011 --- diff --git a/js/ui/background.js b/js/ui/background.js index bcd9ffc13..06e038816 100644 --- a/js/ui/background.js +++ b/js/ui/background.js @@ -746,10 +746,8 @@ var BackgroundManager = class BackgroundManager { this._container.add_child(backgroundActor); - let monitor = this._layoutManager.monitors[this._monitorIndex]; - - backgroundActor.set_size(monitor.width, monitor.height); if (this._controlPosition) { + let monitor = this._layoutManager.monitors[this._monitorIndex]; backgroundActor.set_position(monitor.x, monitor.y); backgroundActor.lower_bottom(); }